<?php
$tdatapppaypal_info=array();
	$tdatapppaypal_info[".ShortName"]="pppaypal_info";
	$tdatapppaypal_info[".OwnerID"]="";
	$tdatapppaypal_info[".OriginalTable"]="pppaypal_info";


	
//	field labels
$fieldLabelspppaypal_info = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelspppaypal_info["English"]=array();
	$fieldToolTipspppaypal_info["English"]=array();
	$fieldLabelspppaypal_info["English"]["ID"] = "ID";
	$fieldToolTipspppaypal_info["English"]["ID"] = "";
	$fieldLabelspppaypal_info["English"]["StoreName"] = "StoreName";
	$fieldToolTipspppaypal_info["English"]["StoreName"] = "";
	$fieldLabelspppaypal_info["English"]["Currency"] = "Currency";
	$fieldToolTipspppaypal_info["English"]["Currency"] = "";
	$fieldLabelspppaypal_info["English"]["PayPalEmailAddress"] = "PayPalEmailAddress";
	$fieldToolTipspppaypal_info["English"]["PayPalEmailAddress"] = "";
	$fieldLabelspppaypal_info["English"]["Logo"] = "Logo";
	$fieldToolTipspppaypal_info["English"]["Logo"] = "";
	$fieldLabelspppaypal_info["English"]["IPNPage"] = "IPNPage";
	$fieldToolTipspppaypal_info["English"]["IPNPage"] = "";
	$fieldLabelspppaypal_info["English"]["CancelPage"] = "CancelPage";
	$fieldToolTipspppaypal_info["English"]["CancelPage"] = "";
	$fieldLabelspppaypal_info["English"]["SuccessPage"] = "SuccessPage";
	$fieldToolTipspppaypal_info["English"]["SuccessPage"] = "";
	$fieldLabelspppaypal_info["English"]["PayPalServer"] = "PayPalServer";
	$fieldToolTipspppaypal_info["English"]["PayPalServer"] = "";
	$fieldLabelspppaypal_info["English"]["SMSEmailAddress"] = "SMSEmailAddress";
	$fieldToolTipspppaypal_info["English"]["SMSEmailAddress"] = "";
	if (count($fieldToolTipspppaypal_info["English"])){
		$tdatapppaypal_info[".isUseToolTips"]=true;
	}
}
if(mlang_getcurrentlang()=="Spanish")
{
	$fieldLabelspppaypal_info["Spanish"]=array();
	$fieldToolTipspppaypal_info["Spanish"]=array();
	$fieldLabelspppaypal_info["Spanish"]["ID"] = "ID";
	$fieldToolTipspppaypal_info["Spanish"]["ID"] = "";
	$fieldLabelspppaypal_info["Spanish"]["StoreName"] = "StoreName";
	$fieldToolTipspppaypal_info["Spanish"]["StoreName"] = "";
	$fieldLabelspppaypal_info["Spanish"]["Currency"] = "Currency";
	$fieldToolTipspppaypal_info["Spanish"]["Currency"] = "";
	$fieldLabelspppaypal_info["Spanish"]["PayPalEmailAddress"] = "PayPalEmailAddress";
	$fieldToolTipspppaypal_info["Spanish"]["PayPalEmailAddress"] = "";
	$fieldLabelspppaypal_info["Spanish"]["Logo"] = "Logo";
	$fieldToolTipspppaypal_info["Spanish"]["Logo"] = "";
	$fieldLabelspppaypal_info["Spanish"]["IPNPage"] = "IPNPage";
	$fieldToolTipspppaypal_info["Spanish"]["IPNPage"] = "";
	$fieldLabelspppaypal_info["Spanish"]["CancelPage"] = "CancelPage";
	$fieldToolTipspppaypal_info["Spanish"]["CancelPage"] = "";
	$fieldLabelspppaypal_info["Spanish"]["SuccessPage"] = "SuccessPage";
	$fieldToolTipspppaypal_info["Spanish"]["SuccessPage"] = "";
	$fieldLabelspppaypal_info["Spanish"]["PayPalServer"] = "PayPalServer";
	$fieldToolTipspppaypal_info["Spanish"]["PayPalServer"] = "";
	$fieldLabelspppaypal_info["Spanish"]["SMSEmailAddress"] = "SMSEmailAddress";
	$fieldToolTipspppaypal_info["Spanish"]["SMSEmailAddress"] = "";
	if (count($fieldToolTipspppaypal_info["Spanish"])){
		$tdatapppaypal_info[".isUseToolTips"]=true;
	}
}


	

	

$tdatapppaypal_info[".shortTableName"] = "pppaypal_info";
$tdatapppaypal_info[".nSecOptions"] = 0;
$tdatapppaypal_info[".recsPerRowList"] = 1;	
$tdatapppaypal_info[".tableGroupBy"] = "0";
$tdatapppaypal_info[".mainTableOwnerID"] = "";
$tdatapppaypal_info[".moveNext"] = 1;




$tdatapppaypal_info[".showAddInPopup"] = false;

$tdatapppaypal_info[".showEditInPopup"] = false;

$tdatapppaypal_info[".showViewInPopup"] = false;


$tdatapppaypal_info[".fieldsForRegister"] = array();

$tdatapppaypal_info[".listAjax"] = false;

	$tdatapppaypal_info[".audit"] = true;

	$tdatapppaypal_info[".locking"] = false;
	
$tdatapppaypal_info[".edit"] = true;
$tdatapppaypal_info[".inlineEdit"] = true;




$tdatapppaypal_info[".showSimpleSearchOptions"] = false;

$tdatapppaypal_info[".showSearchPanel"] = true;


$tdatapppaypal_info[".isUseAjaxSuggest"] = true;



// button handlers file names

$tdatapppaypal_info[".addPageEvents"] = false;

$tdatapppaypal_info[".arrKeyFields"][] = "ID";

// use datepicker for search panel
$tdatapppaypal_info[".isUseCalendarForSearch"] = false;

// use timepicker for search panel
$tdatapppaypal_info[".isUseTimeForSearch"] = false;

$tdatapppaypal_info[".isUseiBox"] = false;


	

	



$tdatapppaypal_info[".isUseInlineEdit"] = true;
$tdatapppaypal_info[".isUseInlineJs"] = $tdatapppaypal_info[".isUseInlineAdd"] || $tdatapppaypal_info[".isUseInlineEdit"];

$tdatapppaypal_info[".allSearchFields"] = array();



$tdatapppaypal_info[".googleLikeFields"][] = "ID";
$tdatapppaypal_info[".googleLikeFields"][] = "StoreName";
$tdatapppaypal_info[".googleLikeFields"][] = "Currency";
$tdatapppaypal_info[".googleLikeFields"][] = "PayPalEmailAddress";
$tdatapppaypal_info[".googleLikeFields"][] = "Logo";
$tdatapppaypal_info[".googleLikeFields"][] = "IPNPage";
$tdatapppaypal_info[".googleLikeFields"][] = "CancelPage";
$tdatapppaypal_info[".googleLikeFields"][] = "SuccessPage";
$tdatapppaypal_info[".googleLikeFields"][] = "PayPalServer";
$tdatapppaypal_info[".googleLikeFields"][] = "SMSEmailAddress";



$tdatapppaypal_info[".advSearchFields"][] = "ID";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("ID", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "ID";	
}
$tdatapppaypal_info[".advSearchFields"][] = "StoreName";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("StoreName", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "StoreName";	
}
$tdatapppaypal_info[".advSearchFields"][] = "Currency";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Currency", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "Currency";	
}
$tdatapppaypal_info[".advSearchFields"][] = "PayPalEmailAddress";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("PayPalEmailAddress", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "PayPalEmailAddress";	
}
$tdatapppaypal_info[".advSearchFields"][] = "Logo";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Logo", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "Logo";	
}
$tdatapppaypal_info[".advSearchFields"][] = "IPNPage";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("IPNPage", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "IPNPage";	
}
$tdatapppaypal_info[".advSearchFields"][] = "CancelPage";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("CancelPage", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "CancelPage";	
}
$tdatapppaypal_info[".advSearchFields"][] = "SuccessPage";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("SuccessPage", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "SuccessPage";	
}
$tdatapppaypal_info[".advSearchFields"][] = "PayPalServer";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("PayPalServer", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "PayPalServer";	
}
$tdatapppaypal_info[".advSearchFields"][] = "SMSEmailAddress";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("SMSEmailAddress", $tdatapppaypal_info[".allSearchFields"])) 
{
	$tdatapppaypal_info[".allSearchFields"][] = "SMSEmailAddress";	
}

$tdatapppaypal_info[".isTableType"] = "list";


	
$tdatapppaypal_info[".isVerLayout"] = true;



// Access doesn't support subqueries from the same table as main
$tdatapppaypal_info[".subQueriesSupAccess"] = true;





$tdatapppaypal_info[".pageSize"] = 20;

$gstrOrderBy = "";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdatapppaypal_info[".strOrderBy"] = $gstrOrderBy;
	
$tdatapppaypal_info[".orderindexes"] = array();

$tdatapppaypal_info[".sqlHead"] = "select ID,  StoreName,  Currency,  PayPalEmailAddress,  Logo,  IPNPage,  CancelPage,  SuccessPage,  PayPalServer,  SMSEmailAddress";
$tdatapppaypal_info[".sqlFrom"] = "FROM pppaypal_info";
$tdatapppaypal_info[".sqlWhereExpr"] = "";
$tdatapppaypal_info[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdatapppaypal_info[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdatapppaypal_info[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "ID";
	$tdatapppaypal_info[".Keys"] = $tableKeys;

//	ID
	$fdata = array();
	$fdata["strName"] = "ID";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","ID"); 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "ID";
	
		$fdata["FullName"]= "ID";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdatapppaypal_info["ID"]=$fdata;
//	StoreName
	$fdata = array();
	$fdata["strName"] = "StoreName";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","StoreName"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "StoreName";
	
		$fdata["FullName"]= "StoreName";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["StoreName"]=$fdata;
//	Currency
	$fdata = array();
	$fdata["strName"] = "Currency";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","Currency"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=0;
	$fdata["pLookupType"] = 0;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
									$fdata["LookupValues"]=array();
	$fdata["LookupValues"][]="USD";
			
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Currency";
	
		$fdata["FullName"]= "Currency";
	
		
		
		
		
		
				$fdata["Index"]= 3;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["Currency"]=$fdata;
//	PayPalEmailAddress
	$fdata = array();
	$fdata["strName"] = "PayPalEmailAddress";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","PayPalEmailAddress"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "PayPalEmailAddress";
	
		$fdata["FullName"]= "PayPalEmailAddress";
	
		
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["PayPalEmailAddress"]=$fdata;
//	Logo
	$fdata = array();
	$fdata["strName"] = "Logo";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","Logo"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "File-based Image";
	
		
		
			$fdata["ImageWidth"] = 0;
	$fdata["ImageHeight"] = 0;
	
		
		
	$fdata["GoodName"]= "Logo";
	
		$fdata["FullName"]= "Logo";
	
		
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=250";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["Logo"]=$fdata;
//	IPNPage
	$fdata = array();
	$fdata["strName"] = "IPNPage";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","IPNPage"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "IPNPage";
	
		$fdata["FullName"]= "IPNPage";
	
		
		
		
		
		
				$fdata["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=250";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["IPNPage"]=$fdata;
//	CancelPage
	$fdata = array();
	$fdata["strName"] = "CancelPage";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","CancelPage"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "CancelPage";
	
		$fdata["FullName"]= "CancelPage";
	
		
		
		
		
		
				$fdata["Index"]= 7;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=250";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["CancelPage"]=$fdata;
//	SuccessPage
	$fdata = array();
	$fdata["strName"] = "SuccessPage";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","SuccessPage"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "SuccessPage";
	
		$fdata["FullName"]= "SuccessPage";
	
		
		
		
		
		
				$fdata["Index"]= 8;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=250";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["SuccessPage"]=$fdata;
//	PayPalServer
	$fdata = array();
	$fdata["strName"] = "PayPalServer";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","PayPalServer"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=0;
	$fdata["pLookupType"] = 0;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
									$fdata["LookupValues"]=array();
			
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "PayPalServer";
	
		$fdata["FullName"]= "PayPalServer";
	
		
		
		
		
		
				$fdata["Index"]= 9;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["PayPalServer"]=$fdata;
//	SMSEmailAddress
	$fdata = array();
	$fdata["strName"] = "SMSEmailAddress";
	$fdata["ownerTable"] = "pppaypal_info";
	$fdata["Label"]=GetFieldLabel("pppaypal_info","SMSEmailAddress"); 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "SMSEmailAddress";
	
		$fdata["FullName"]= "SMSEmailAddress";
	
		
		
		
		
		
				$fdata["Index"]= 10;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
		
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		$fdata["bInlineEdit"]=true; 
	
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdatapppaypal_info["SMSEmailAddress"]=$fdata;


	
$tables_data["pppaypal_info"]=&$tdatapppaypal_info;
$field_labels["pppaypal_info"] = &$fieldLabelspppaypal_info;
$fieldToolTips["pppaypal_info"] = &$fieldToolTipspppaypal_info;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["pppaypal_info"] = array();

	
// tables which are master tables for current table (detail)
$masterTablesData["pppaypal_info"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










function createSqlQuery_pppaypal_info()
{
$proto0=array();
$proto0["m_strHead"] = "select";
$proto0["m_strFieldList"] = "ID,  StoreName,  Currency,  PayPalEmailAddress,  Logo,  IPNPage,  CancelPage,  SuccessPage,  PayPalServer,  SMSEmailAddress";
$proto0["m_strFrom"] = "FROM pppaypal_info";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
$proto0["m_strTail"] = "";
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "";
$proto1["m_havingmode"] = "0";
$proto1["m_inBrackets"] = "0";
$proto1["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto1);

$proto0["m_where"] = $obj;
$proto3=array();
$proto3["m_sql"] = "";
$proto3["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto3["m_column"]=$obj;
$proto3["m_contained"] = array();
$proto3["m_strCase"] = "";
$proto3["m_havingmode"] = "0";
$proto3["m_inBrackets"] = "0";
$proto3["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto3);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "ID",
	"m_strTable" => "pppaypal_info"
));

$proto5["m_expr"]=$obj;
$proto5["m_alias"] = "";
$obj = new SQLFieldListItem($proto5);

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "StoreName",
	"m_strTable" => "pppaypal_info"
));

$proto7["m_expr"]=$obj;
$proto7["m_alias"] = "";
$obj = new SQLFieldListItem($proto7);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "Currency",
	"m_strTable" => "pppaypal_info"
));

$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "PayPalEmailAddress",
	"m_strTable" => "pppaypal_info"
));

$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "Logo",
	"m_strTable" => "pppaypal_info"
));

$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto0["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "IPNPage",
	"m_strTable" => "pppaypal_info"
));

$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto0["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "CancelPage",
	"m_strTable" => "pppaypal_info"
));

$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto0["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "SuccessPage",
	"m_strTable" => "pppaypal_info"
));

$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto0["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "PayPalServer",
	"m_strTable" => "pppaypal_info"
));

$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto0["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "SMSEmailAddress",
	"m_strTable" => "pppaypal_info"
));

$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto25=array();
$proto25["m_link"] = "SQLL_MAIN";
			$proto26=array();
$proto26["m_strName"] = "pppaypal_info";
$proto26["m_columns"] = array();
$proto26["m_columns"][] = "CancelPage";
$proto26["m_columns"][] = "Currency";
$proto26["m_columns"][] = "ID";
$proto26["m_columns"][] = "IPNPage";
$proto26["m_columns"][] = "Logo";
$proto26["m_columns"][] = "PayPalEmailAddress";
$proto26["m_columns"][] = "PayPalServer";
$proto26["m_columns"][] = "SMSEmailAddress";
$proto26["m_columns"][] = "StoreName";
$proto26["m_columns"][] = "SuccessPage";
$obj = new SQLTable($proto26);

$proto25["m_table"] = $obj;
$proto25["m_alias"] = "";
$proto27=array();
$proto27["m_sql"] = "";
$proto27["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto27["m_column"]=$obj;
$proto27["m_contained"] = array();
$proto27["m_strCase"] = "";
$proto27["m_havingmode"] = "0";
$proto27["m_inBrackets"] = "0";
$proto27["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto27);

$proto25["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto25);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$obj = new SQLQuery($proto0);

return $obj;
}
$queryData_pppaypal_info = createSqlQuery_pppaypal_info();
$tdatapppaypal_info[".sqlquery"] = $queryData_pppaypal_info;



$tableEvents["pppaypal_info"] = new eventsBase;
$tdatapppaypal_info[".hasEvents"] = false;

?>
